From: Ryan Kavanagh Date: Thu, 27 Jul 2023 18:59:47 +0000 (+0200) Subject: Pass LDLIBS to the linker X-Git-Tag: archive/raspbian/2.12.0-2+rpi1^2~15 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=b0424974bbfa3905e93897a7e94c964e0d6c06ec;p=cmus.git Pass LDLIBS to the linker Origin: Debian Bug-Debian: http://bugs.debian.org/935678 Forwarded: no Reviewed-by: Ryan Kavanagh Last-Update: 2019-09-07 Needed to pass -latomic at the end so that we can fix a FTBFS on various architectures. Last-Update: 2019-09-07 Gbp-Pq: Name 0001-atomic_ld.patch --- diff --git a/Makefile b/Makefile index 76a4d59..720f043 100644 --- a/Makefile +++ b/Makefile @@ -19,7 +19,7 @@ include scripts/lib.mk CFLAGS += -D_FILE_OFFSET_BITS=64 CMUS_LIBS = $(PTHREAD_LIBS) $(NCURSES_LIBS) $(ICONV_LIBS) $(DL_LIBS) $(DISCID_LIBS) \ - -lm $(COMPAT_LIBS) $(LIBSYSTEMD_LIBS) + -lm $(COMPAT_LIBS) $(LIBSYSTEMD_LIBS) $(LDLIBS) command_mode.o input.o main.o ui_curses.o op/pulse.lo: .version command_mode.o input.o main.o ui_curses.o op/pulse.lo: CFLAGS += -DVERSION=\"$(VERSION)\"